Brawl - Zero Suit Samus - Common Subroutine 0xbc74
- loop Infinite times:
- if (BoolIsTrue LongtermAccessBool(HasCurry))
- if ((InternalConstantInt(CurrentSubaction) Equal scalar(380)))
- SetAnimationAndTimerFrame(0.0)
- else
- ChangeSubactionRestartFrame(GekikaraWait)
- SyncWait(1.0)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: true, ty: BoolIsTrue }, Variable(Variable { memory_type: LongtermAccess, data_type: Bool, address: 10 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
- else
- if (HoldingItem)
- if ((InternalConstantInt (0x5222) Equal scalar(5)))
- ChangeSubactionRestartFrame(WaitItem)
- SyncWait(1.0)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: true, ty: Comparison }, Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 21026 }), Value(2), Scalar(5.0)] }
- else
- if ((InternalConstantInt(CurrentSubaction) Equal scalar(0)))
- SetAnimationAndTimerFrame(0.0)
- else
- ChangeSubactionRestartFrame(Wait1)
- SyncWait(1.0)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
- else
- Switch(1000, 0)
- Case(1)
- ChangeSubactionRestartFrame(Wait2)
- Case(2)
- ChangeSubactionRestartFrame(Wait3)
- Case(3)
- ChangeSubactionRestartFrame()
- Case(4)
- ChangeSubactionRestartFrame(_1)
- Case(-1)
- SetAnimationAndTimerFrame(0.0)
- UnknownEvent { namespace: 0x0, code: 0x12, unk1: 0x0, arguments: [] }
- ChangeSubactionRestartFrame(Wait1)
- EndSwitch
- SyncWait(1.0)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
- LoopRest